package com.fall.gulimall.member.controller;

import com.fall.common.utils.R;
import com.fall.gulimall.member.feign.CouponFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("member/member/")
public class MemberController {

    @Autowired
    private CouponFeignService couponFeignService;

    @GetMapping("memberCoupon")
    public R memberCoupon(){
        R r = couponFeignService.memberCoupon();
        return r;
    }

}
